<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="./vendor/jquery.fullpage.min.css">
    <style>
        .box .section:nth-child(2n+1){
            width: 100%;
            height: 1200px;
            background-color: aquamarine;
        }
        .box .section:nth-child(2n){
            width: 100%;
            height: 1200px;
            background-color: #8080ff;
        }
    </style>
    <title>全屏切换</title>
</head>
<body>
    <div class="box">
        <div class="section">1</div>
        <div class="section">2</div>
        <div class="section">3</div>
        <div class="section">4</div>
        <div class="section">5</div>
    </div>
    <script src="./vendor/jquery.min.js"></script>
    <script src="./vendor/jquery.fullpage.min.js"></script>
    <script>
        $('.box').fullpage();
    </script>
</body>
</html>